package com.whz.gateway.common.constants;

import lombok.experimental.UtilityClass;

/**
 * @author whz
 */
@UtilityClass
public class FilterOrder {
    public static final int BLACK_LIST_PRECEDENCE = -200;

    // 黑名单管理
    public static final int AUTHORIZATION_ORDER = BLACK_LIST_PRECEDENCE + 1;

    // 认证filter 顺序
    public static final int ACCESS_CONTROL_ORDER = 10;
    // 鉴权后,处理api业务
    public static final int API_BIZ_ORDER = ACCESS_CONTROL_ORDER + 1;

    public static final int MULTIPLE_FORM_EXCHANGE_ORDER = 250;

    public static final int LOWED_PRECEDENCE = 500;
}